/*
 * @Description  : token 操作
 * @Author       : YiDing Xue
 * @Date         : 2023-01-12
 * @LastEditors  : YiDing Xue
 * @LastEditTime : 2023-02-01
 */
import { lStorage } from '@/utils'
import { UID, VISA_PROVINCE, VISA_USER_INFO } from './type'
export function getUid() {
  return lStorage.get(UID)
}

export function setUid(uId) {
  lStorage.set(UID, uId)
}

export function removeUid() {
  lStorage.remove(UID)
}
export function l_getUserInfo() {
  return lStorage.get(VISA_USER_INFO)
}

export function l_setUserInfo(userInfo) {
  lStorage.set(VISA_USER_INFO, userInfo)
}

export function l_removeUserInfo() {
  lStorage.remove(VISA_USER_INFO)
}
export function getVisaProvince() {
  return lStorage.get(VISA_PROVINCE)
}

export function setVisaProvince(val) {
  lStorage.set(VISA_PROVINCE, val)
}

export function removeVisaProvince() {
  lStorage.remove(VISA_PROVINCE)
}
